This event occurs when the user selects to change the document workflow state.
Syntax
Private Sub AMUIExtension_BeforeChangeWFState(
ByVal CurrentObject As Object,
ByVal Source As AMEDM.DWF_STATES,
ByVal Target As AMEDM.DWF_STATES,
Comment As String,
Person As String,
Abort As Boolean)
Name | Description |
---|---|
CurrentObject |
The document object (AMDocument object). |
Source |
The current state of the document. |
Target |
The new state of the document. |
Comment |
This string will be added to the document log. |
Person |
|
Abort |
Setting this argument to True will abort the operation. The AfterChangeWFState event will not occur. |
Remarks
The equivalent VBScript event is the ChangeWFState script event. See the BlueCielo Meridian Enterprise VBScript API Reference for more information.